#!/bin/bash

# clean the train model and temp results
# use './clean.sh -e' to clean EBV and final results only
# use './clean.sh -w' to clean final results only

rm -f tmp*
cd output
if [ "$1" == "-e" ]; then
    rm -rf ebv_*.txt word_rank.txt
elif [ "$1" == "-w" ]; then
    rm -rf word_rank.txt
else
    rm -rf mi_model.txt words_all.txt words_filtered.txt links_first.txt links_second.txt links_third.txt links.txt ebv_*.txt word_rank.txt
fi
cd ..
